home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / devtools / automake-1.0.tar.gz / automake-1.0.tar / automake-1.0 / tests / auxdir.test < prev    next >
Text File  |  1996-05-17  |  468b  |  23 lines

  1. #! /bin/sh
  2.  
  3. # Test to make sure AC_CONFIG_AUX_DIR works correctly.
  4.  
  5. . $srcdir/defs || exit 1
  6.  
  7. # The "./." is here so we don't have to mess with subdirs.
  8. cat >> configure.in << 'END'
  9. PACKAGE=nonesuch
  10. VERSION=nonesuch
  11. AC_CONFIG_AUX_DIR(./.)
  12. END
  13.  
  14. cat > Makefile.am << 'END'
  15. pkgdata_DATA =
  16. END
  17.  
  18. # The "././" prefix confuses Automake into thinking it is doing a
  19. # subdir build.  Yes, this is hacky.
  20. $AUTOMAKE ././Makefile || exit 1
  21.  
  22. grep '/\./\./mkinstalldirs' Makefile.in
  23.